package com.gqz.springbootdemo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gqz.springbootdemo.pojo.Student;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author gqz20
 * @Entity com.gqz.springbootdemo.pojo.Student
 */
public interface StudentMapper extends BaseMapper<Student> {

    List<Student> findList(Long id);

    void updateAssociation(@Param("sid") Integer sid,@Param("cid") Integer cid);

    void deleteAssociation(Integer sid);
}




